﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls"
    Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormSection" Src="~/_controltemplates/InputFormSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormControl" Src="~/_controltemplates/InputFormControl.ascx" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GoogleAnalyticsSettings.aspx.cs"
    Inherits="ConsultPoint.SharePoint.GoogleAnalyticsConnector.Layouts.GoogleAnalyticsSettings"
    DynamicMasterPageFile="~masterurl/default.master" %>

<asp:Content ID="PageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
</asp:Content>
<asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">
    <wssuc:InputFormSection runat="server" Title="Google Analytics account settings"
        Description="Use this section to define your google analytics settings">
        <template_inputformcontrols>
    <table>
        <tr>
            <td colspan="3">
                <asp:RadioButton runat="server" ID="rdoInherits" GroupName="groupInherits" Text="Inherits settings from parent" AutoPostBack="true" /><br />
                <asp:RadioButton runat="server" ID="rdoOverwrite" GroupName="groupInherits" Text="Define custom settings for this site" AutoPostBack="true"/>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            </td>
            <td>
                Account ID:
            </td>
            <td>
                <asp:TextBox runat="server" ID="txtAccountID" Width="200px" /><br />
                
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
            </td>
            <td><asp:CheckBox runat="server" ID="chkApplyToChildren" Text="Apply this setting to all subsites" /></td>
        </tr>
        <tr>
            <td/><td /><td>
            <tdalign="right">
                <asp:Button runat="server" ID="btnSave" Text="Save" />
                <asp:Button runat="server" ID="btnCancel" Text="Cancel" />
            </td>
        </tr>
        </table>
        <br />
        <table>
        <tr>
        <td>
        <h4>Where to find my google account ID for my site ?</h4>
        Your account ID can be found in your website profile page in Google Analytics <br /><br />
        &nbsp;&nbsp;&nbsp;<img border="1" src="/_layouts/SPGoogleAnalytics/GoogleAccountID.png" /><br />
        </td>
        </tr>
        
    </table>
    </template_inputformcontrols>
    </wssuc:InputFormSection>
</asp:Content>
<asp:Content ID="PageTitle" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
        Google Analytics Settings
</asp:Content>
<asp:Content ID="PageTitleInTitleArea" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea"
    runat="server">
        Google Analytics Settings
</asp:Content>
